import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import PersonalView from '../views/PersonalView.vue'
import MessageView from '../views/MessageView.vue'
import NavigationView from '../views/NavigationView.vue'
import ClassifyView from '../views/ClassifyView.vue'
import OrderView from "@/views/OrderView.vue";



const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/navigation',
      name: 'navigation',
      component: NavigationView
    },
    {
      path: '/',
      name: 'home',
      component: HomeView
    },
    {
      path: '/chat',
      name: 'chat',
      component: ClassifyView
    },
    {
      path: '/message',
      name: 'message',
      component: MessageView
    },
    {
      path: '/personal',
      name: 'personal',
      component: PersonalView
    },
    {
      path: '/order',
      name: 'order',
      component: OrderView
    },
  ]
})

export default router
